package com.googlecode.curvedmetromaps.core.logic.forcedriven;

public abstract class ForceSubsystem {
	protected ForceSystem system;

	/**
	 * Instantiates a new force subsystem and sets a reference to the parent system.
	 *
	 * @param system Parent system to which this subsystem belongs.
	 */
	public ForceSubsystem(ForceSystem system) {
		this.system = system;
	}

	/**
	 * Applies forces on the ForceSystem.
	 *
	 * @param delta Time in milliseconds that has passed since last update.
	 */
	abstract void applyForces(int delta);
}
